package com.cnfangmao.masterdata.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cnfangmao.masterdata.dto.BasicDataMetadataSearchDto;
import com.cnfangmao.masterdata.dto.GeneralSearchDto;
import com.cnfangmao.masterdata.model.BasicDataMetadata;

/**
 * <p>
 * 主数据元数据 服务类
 * </p>
 *
 * @author chenxd
 * @since 2020-04-14
 */
public interface BasicDataMetadataService extends IService<BasicDataMetadata> {
	
	BasicDataMetadata findByMetadataCode(String metadataCode);

	BasicDataMetadata findByMetadataName(String metadataName);

	IPage<BasicDataMetadata> queryListBasicDataMetadata(GeneralSearchDto<BasicDataMetadataSearchDto> dto);

}
